﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Brainee.Search
{
  /// <summary>
  /// </summary>
  /// <remarks>
  /// </remarks>
  public class AStarStrategy : BestFirstStrategy
  {
    public AStarStrategy (IProblem pb)
      : base (s => s.PathCost + pb.EstimatedCostToGoal(s.State))
    { }
  }
}
